package com.ruoyi.system.mapper;

import com.ruoyi.common.core.domain.entity.ApproveMission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ruohao
 * @Date: 2023/8/18
 **/
public interface ApproveMissionMapper {
    public ApproveMission selectById(Long id);
    public List<ApproveMission> selectByIds(@Param("ids") List<Long> ids);
    public List<ApproveMission> selectApproveMissionList(ApproveMission approveMission);
    public ApproveMission selectByActivity(@Param("activityId") Long activityId, @Param("activityType") String activityType);
    public int insertApproveMission(ApproveMission approveMission);
    public int updateApproveMission(ApproveMission approveMission);
}
